package com.ax.associator.store.dao;

import com.ax.associator.store.domain.Attachment;
import org.apache.ibatis.annotations.Mapper;

public interface AttachmentMapper {
    int deleteByPrimaryKey(Long attachmentId);

    int insert(Attachment record);

    /**
     * 附件添加
     * @param attachment
     * @return
     */
    Integer insertSelective(Attachment attachment);

    Attachment selectByPrimaryKey(Long attachmentId);

    int updateByPrimaryKeySelective(Attachment record);

    int updateByPrimaryKey(Attachment record);
}